package com.jinbai.view_object;

import com.jinbai.data_object.TrackDO;
import lombok.Data;

@Data
public class ListTrackVO {
    // 只关心展示什么
    private Integer tid;
    private String title;
    private Integer refCount;



    public ListTrackVO(TrackDO trackDO, Integer refCount) {
        this.tid = trackDO.getTid();
        this.title = trackDO.getTitle();
        this.refCount = refCount;
    }

    public ListTrackVO(int tid, String title) {
        this.tid = tid;
        this.title = title;
    }

    public Integer getTid() {
        return tid;
    }

    public String getTitle() {
        return title;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
